More face customization cleanups.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 9 Oct 2010 03:23:38 +0000 (23:23 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 9 Oct 2010 03:23:38 +0000 (23:23 -0400)
commitef8c6d5815622c60f5e9b9f77acffcc8a88f016b
treecec4dbc6011f0224950b39573bfcb5a5afc822ef
parent0b95bc4cc4497141a161d9537b1b2fd87c5268d3
More face customization cleanups.

* cus-edit.el (custom-commands, custom-buffer-create-internal)
(custom-magic-value-create): Pad button tags with spaces.
(custom-face-edit): New variable.
(custom-face-value-create): Determine whether to use the usual
face editor here, instead of using custom-face-selected.  Pass
face defaults to custom-face-edit widget.
(custom-face-selected, custom-display-unselected): Delete widgets.
(custom-display-unselected-match): Function removed.
(custom-face-set, custom-face-mark-to-save): Accept
custom-face-edit widgets as the direct widget child.

* wid-edit.el (widget--completing-widget): New var.
(widget-default-complete): Bind it when doing completion.
(widget-string-complete, widget-file-complete): Use it.
lisp/ChangeLog
lisp/cus-edit.el
lisp/wid-edit.el